package homeWork;

public class TriAngle {
    int base;
    int height;
    public int getBase(){
        return this.base;
    }
    public int getHeight(){
        return this.height;
    }
    public void TriAngleLong(){
        System.out.println("此三角形的周长是"+(this.base*this.height));
    }
}
